Add a gtklabelprivate.h header
authorMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jan 2014 01:44:21 +0000 (20:44 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jan 2014 15:54:03 +0000 (10:54 -0500)
For now, move the few private functions from gtklabel.h here.

gtk/Makefile.am
gtk/a11y/gtklabelaccessible.c
gtk/gtklabel.c
gtk/gtklabel.h
gtk/gtklabelprivate.h [new file with mode: 0644]
gtk/gtkmenushell.c

index ecbcbd14f2c51f19073617bd45d3e2330b80fc27..b616aa3d4963ae3a9ca2f9b41475a00c3a4f978b 100644 (file)
@@ -486,6 +486,7 @@ gtk_private_h_sources =             \
        gtkimcontextsimpleseqs.h \
        gtkintl.h               \
        gtkkeyhash.h            \
+       gtklabelprivate.h       \
        gtklockbuttonprivate.h  \
        gtkmenubuttonprivate.h  \
        gtkmenuprivate.h        \
index 9c35ad790e7d39381793a4a9543cd0dc24f5d8d4..f4bd02ebb31c3363f2517f51d611dc7e3202f6d4 100644 (file)
@@ -20,6 +20,7 @@
 #include <gtk/gtk.h>
 #include <gtk/gtkpango.h>
 #include "gtkwidgetprivate.h"
+#include "gtklabelprivate.h"
 #include "gtklabelaccessible.h"
 
 struct _GtkLabelAccessiblePrivate
index 9dad3ef386aa1444d5441b851f27e2a3de635f33..8d06be7bc29c24cab95b8ad6724af758816a4df0 100644 (file)
@@ -28,6 +28,7 @@
 #include <string.h>
 
 #include "gtklabel.h"
+#include "gtklabelprivate.h"
 #include "gtkaccellabel.h"
 #include "gtkdnd.h"
 #include "gtkmarshalers.h"
index eecb8e8cb9b145e29cfc67b8c2a04567ba3ef679..1f4f74d86da21662456c3a12baf1ebf78956f1ac 100644 (file)
@@ -214,13 +214,6 @@ GDK_AVAILABLE_IN_ALL
 gboolean     gtk_label_get_track_visited_links  (GtkLabel *label);
 
 
-/* private */
-
-void _gtk_label_mnemonics_visible_apply_recursively (GtkWidget *widget,
-                                                     gboolean   mnemonics_visible);
-gint _gtk_label_get_cursor_position (GtkLabel *label);
-gint _gtk_label_get_selection_bound (GtkLabel *label);
-
 G_END_DECLS
 
 #endif /* __GTK_LABEL_H__ */
diff --git a/gtk/gtklabelprivate.h b/gtk/gtklabelprivate.h
new file mode 100644 (file)
index 0000000..e8fe1b2
--- /dev/null
@@ -0,0 +1,34 @@
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GTK_LABEL_PRIVATE_H__
+#define __GTK_LABEL_PRIVATE_H__
+
+
+#include <gtk/gtklabel.h>
+
+
+G_BEGIN_DECLS
+
+void _gtk_label_mnemonics_visible_apply_recursively (GtkWidget *widget,
+                                                     gboolean   mnemonics_visible);
+gint _gtk_label_get_cursor_position (GtkLabel *label);
+gint _gtk_label_get_selection_bound (GtkLabel *label);
+
+G_END_DECLS
+
+#endif /* __GTK_LABEL_PRIVATE_H__ */
index 97efed3cdf95316ad3bbe9985fd72dd86d31f830..3bbceeeb52df4eb35d7f9a5170fe317e507a2f8c 100644 (file)
@@ -77,6 +77,7 @@
 #include "gtktypebuiltins.h"
 #include "gtkmodelmenuitem.h"
 #include "gtkwidgetprivate.h"
+#include "gtklabelprivate.h"
 
 #include "deprecated/gtktearoffmenuitem.h"